Communication apparatus, image processing apparatus, communication system, communication method, image processing method and storage medium

ABSTRACT

For providing a communication system capable of easily and efficiently confirming information present in another device and easily and efficiently selecting desired information from such information, a digital camera informs a printer of format information of an image file (including a photographed image, a thumbnail image formed by reducing the photographed image) held in an internal memory of the digital camera, so that the printer can directly fetch the thumbnail image only from the image file held in the internal memory of the digital camera, for example by the pull-type data transfer method.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to a communication apparatus, an image processing apparatus, a printer, a communication system, a printing system, a communication method and an image processing method for executing data transfer between devices in one-to-one relationship through a serial interface such as IEEE1394, and a storage medium storing process steps for executing such methods in computer readable manner.

[0003] 2. Related Background Art

[0004] For example for printing an image photographed with a digital camera by a printer, there is already known a method utilizing a personal computer (PC).

[0005] In such method, a PC and a digital camera are connected by a serial interface (such as RS-232C) and the PC and a printer are connected by a parallel interface (such as Centronics).

[0006] Then the photographed image is transferred from the digital cameral to the PC and is thus fetched therein.

[0007] Then on such PC, the photographed image is fetched from the digital camera is processed according to the desired printing format, by an arbitrary application software functioning on the PC.

[0008] Subsequently the photographed image thus processed is transferred from the PC to the printer and is printed on the printer.

[0009] However, such output method for the photographed image utilizing PC is dependent on a fact that the user already has the PC.

[0010] Therefore, the user who does not have the PC (for example a user who does not have the PC but has purchased a digital camera) cannot print the image photographed by the digital camera on the printer unless a PC is prepared (for example by new purchasing).

[0011] For this reason, there is proposed a system (hereinafter called “direct print system”) in the form of a dye sublimation video printer, capable of directly printing the image, photographed by the digital camera, without utilizing the PC.

[0012] In such direct print system, the photographed image is transferred from the digital camera to the printer by directly connecting the digital camera with the printer, without going through the PC, by a serial interface of an independent format, or utilizing the standard IrTran-P format utilizing infrared light, or utilizing a memory card interface such as the compact flush or the smart media.

[0013] In the above-mentioned direct print system, in case the user wishes to select a photographed image to be printed on the printer, among various images photographed with the digital camera, the user connects the video output terminal of the printer to a home television unit to display a menu image (index image) in which thumbnail images (images for confirmation, each reduced to an image size of about 80×60 dots, from the actual photographed image) corresponding to the various photographed images and selects the desired photographed image on such menu image.

[0014] The menu image for confirmation and selection of the photographed images on the home television unit because a display unit capable of displaying such menu image cannot be provided on the printer itself in consideration of the cost and space.

[0015] However, the usual home television set has a relatively low resolution of about 720×480 dots in comparison with the monitors employed for the PC's.

[0016] It is therefore difficult to confirm the photographed image by the thumbnail image displayed in the menu image on the home television set.

[0017] Also, in order to increase the number of the photographed images that can be confirmed at a time on the menu image, namely in order to increase the number of the thumbnail images that can be simultaneously displayed on the menu image, the size of each thumbnail image has to be accordingly made smaller, so that the confirmation of the photographed image becomes more difficult.

[0018] Therefore, the number of the photographed images that can be confirmed at a time on the menu is inevitably limited.

[0019] Instead, it is conceivable to display the menu image on the liquid crystal display unit provided on the digital camera, but, because such liquid crystal display unit has a small image size with a low resolution, the number of the photographed image which can be confirmed at a time is still limited in such configuration.

[0020] The above-mentioned limitation in the number of the photographed images which can be confirmed at a time is very inconvenient in the recent situation where the number of the photographed images that can be accumulated in the digital camera has become large with the increase in the memory size provided in the digital camera and it is requested to accordingly increase the number of the photographed images which can be confirmed at a time thereby enabling efficient confirmation and selection of the photographed images.

[0021] For this reason, there is provided a method of printing a list of thumbnail images (index print) of the photographed images, instead of displaying the menu image, for confirmation and selection of the photographed images, on the home television set or the liquid crystal display unit of the digital camera.

[0022] Thus the user is enabled to confirm all the photographed images accumulated in the digital camera and to select the photographed image desired for actual print.

[0023] More specifically, in the digital camera, the photographed images are stored as an image file in an image file format such as EXIF or CIFF, together with the corresponding thumbnail images.

[0024] In order to extract all the thumbnail images only from such image file and to print a list of such thumbnail images, there are executed following first to fourth processes.

[0025] first process: All the image file retained in the digital camera is transferred to the printer;

[0026] second process: Then, in the printer, the thumbnail images only are extracted from the image file;

[0027] third process: There is generated a list image of the thumbnail images extracted in the second process; and

[0028] fourth process: Then the list image generated in the third process is printed.

[0029] However, in the above-described method of printing all the photographed images retained in the digital camera as a list (index print) of the corresponding thumbnail images through the aforementioned first to fourth processes for the purpose of confirmation and selection of such photographed images, there is required a significant burden with a long time in the data transfer between the digital camera and the printer and in the image processing (generation of the list image of the thumbnail images) and the printing process executed in the printer.

SUMMARY OF THE INVENTION

[0030] An object of the present invention is to resolve all the above-mentioned drawbacks or at least one thereof.

[0031] Another object of the present invention is to provide an image processing apparatus or a communication apparatus capable of easily and efficiently confirming the information present in a first device and easily and efficiently selecting desired information among such existing information.

[0032] The above-mentioned objects can be attained, according to the present invention, by a communication apparatus comprising a communication unit for fetching format of held information held in another device by communication therewith; and a control unit for controlling the fetching of the held information based on the format of the held information, fetched from the another device.

[0033] Still another object of the present invention is to easily and efficiently confirm information present in a first device thereby reducing the process time.

[0034] The above-mentioned object can be attained, according to the present invention, by an image processing apparatus capable of fetching image information held in another device through a communication unit, comprising an information fetching unit for executing information fetching process of image information from the aforementioned another device based on the format information of the held image information informed from the aforementioned another device; an information generation unit for generating index information in which plural image information fetched by the information fetching unit are arranged in an arbitrary order; an outline extraction unit for applying an outline extraction process on the image information constituting the index information generated by the information generation unit; and an information output unit for outputting the index information after processing by the outline extraction unit.

[0035] Still other objects of the present invention, and the features thereof, will become fully apparent from the following detailed description of the embodiments, to be taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0036]FIG. 1 is a block diagram showing the configuration of a communication system embodying the present invention;

[0037]FIG. 2 is a view showing a network system constituted with IEEE1394 serial buses, for the purpose of outlining the “IEEE1394” defining the above-mentioned 1394 serial buses to be used as the communication means in the above-mentioned communication system;

[0038]FIG. 3 is a view showing the configuration of the above-mentioned 1394 serial bus;

[0039]FIG. 4 is a view showing the address space in the above-mentioned 1394 serial bus;

[0040]FIG. 5 is a view showing the cable structure of the above-mentioned 1394 serial bus;

[0041]FIG. 6 is a view showing the data transfer (data transfer by DS-link encoding) in the above-mentioned 1394 serial bus;

[0042]FIG. 7 is a view showing the plug and play function in the above-mentioned 1394 serial bus;

[0043]FIG. 8 is a view showing a register to be used for data transfer between an image source device (digital camera) and a printer in the above-mentioned communication system;

[0044]FIG. 9 is a view showing the data flow between the image source device (digital camera) and the printer;

[0045]FIG. 10 is a view showing an example of command and response between the image source device (digital camera) and the printer;

[0046]FIG. 11 is a view showing a format register in the above-mentioned printer;

[0047]FIG. 12 is a view showing a read/write register (CONTROL/STATUS) in the above-mentioned format register;

[0048]FIG. 13 is a view showing a common register group (GLOBAL) in the above-mentioned format register;

[0049]FIG. 14 is a view showing a common register group (LOCAL) in the above-mentioned format register;

[0050]FIG. 15 is a view showing a printer format register group (format [1]) in the above-mentioned format register;

[0051]FIG. 16 is a view showing a printer format register group (format [2]) in the above-mentioned format register;

[0052]FIG. 17 is a view showing an example of the format supportable in the above-mentioned printer;

[0053]FIG. 18 is a view showing a format setting process in the above-mentioned printer;

[0054]FIG. 19 is a view showing the data flow (data flow by PULL-type data transfer method) between the image source device (digital camera) and the printer;

[0055]FIG. 20 is a view showing the functions of command and response (function by PULL-type data transfer method) between the image source device (digital camera) and the printer;

[0056]FIG. 21 is a view showing the relationship between a data register of the image source device (digital camera) and a buffer thereof;

[0057]FIG. 22 is a view showing the configuration of an image file held in the above-mentioned buffer;

[0058]FIG. 23 is a view showing an EXIF header and a TIFF data portion (JPEG image area and digital camera information area 422 b) in the above-mentioned image file;

[0059]FIG. 24 is a view showing a TIFF data portion (thumbnail image area 422 c) of the above-mentioned image file;

[0060]FIG. 25 is a view showing a state in which plural above-mentioned image files are held in the above-mentioned image source device (digital camera);

[0061]FIG. 26 is a view showing a process for extracting the thumbnail image from the above-mentioned image file;

[0062]FIG. 27 is a view showing a start address in the above-mentioned thumbnail image extracting process;

[0063]FIG. 28 is a view showing an example of image rearrangement for index printing of the plural thumbnail images acquired in the above-mentioned thumbnail image extracting process;

[0064]FIG. 29 is a block diagram showing the configuration of the above-mentioned printer;

[0065]FIG. 30 is a flow chart showing the function of the above-mentioned printer;

[0066]FIG. 31 is a block diagram showing the configuration of the above-mentioned printer;

[0067]FIG. 32 is a flow chart showing the function of the above-mentioned printer;

[0068]FIG. 33 is a flow chart showing an outline extracting process in the function of the above-mentioned printer;

[0069]FIG. 34 is a view showing an example of the image prior to the above-mentioned outline extracting process; and

[0070]FIG. 35 is a view showing an example of the image after the above-mentioned outline extracting process.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0071] Now the present invention will be clarified in detail by preferred embodiments thereof, with reference to the accompanying drawings.

[0072] <First Embodiment>

[0073] The present embodiment is applicable for example to a communication system 100 shown in FIG. 1. The communication system 100 is a direct print system capable of printing a photographed image held in a digital camera 101 by a printer 102 without relying on a personal computer (PC) or the like, and is composed, as shown in FIG. 1, of a digital camera 101 constituting an image input device (first device) and a printer 102 constituting an image output device (second device), so connected as to be capable of communication through a 1394 serial bus constituting communication means and to be explained later.

[0074] The communication means (interface) in the direct print system but can be composed of various other interfaces, but, is composed of the 1394 serial bus. Therefore, in the following, there will at first be explained the outline of the “IEEE1394” defining the 1394 serial bus and then the detailed configuration and function of the communication system 100 in the present embodiment.

[0075] <<Outline of IEEE1394 Technology>>

[0076] With the recent progress in the home digital VCR, DVD etc., there is required to support the real-time transfer of data of a large information amount such as video data or audio data.

[0077] In order to transfer the video or audio data on real-time basis for fetching into the personal computer (PC) or to other digital devices, there is required an interface capable of high-speed data transfer with necessary transfer function.

[0078] Based on such standpoint, there is developed an interface IEEE1394-1995 (high performance serial bus) (hereinafter called “1394 serial bus”).

[0079]FIG. 2 shows an example of the network system constructed with such 1394 serial bus.

[0080] The network system is provided with digital devices (hereinafter merely called devices) A, B, C, D, E, F, G and H, and the devices A-B, A-C, B-D, D-E, C-F, C-G and C-H are respectively connected with a twisted pair cable of the 1394 serial bus (hereinafter called “1394 serial bus cable”).

[0081] The devices A to H can be composed, for example, of a PC, a digital VCR, a DVD, a digital camera, a hard disk, a monitor etc.

[0082] The devices A, B, C, D, E, F, G and H can be connected by the daisy chain method or the node branching method in a mixed manner, so that a high freedom can be attained in the connection.

[0083] Each of the devices A to H is provided with a specific ID, and such ID's are mutually recognized by the devices to constitute a network within the extent of the devices connected with the 1394 serial bus cables.

[0084] Thus, by connecting the devices A, B, C, D, E, F, G and H in succession with a 1394 serial bus between each pair of devices, the devices A, B, C, D, E, F, G and H respectively execute relaying function to constitute a single network.

[0085] Also the 1394 serial bus has a plug and play function in which, when the 1394 serial bus is connected to a device, such device automatically recognizes its own device and the connection status.

[0086] Thus, when an arbitrary device X is deleted or added in the network system shown in FIG. 2, the plug and play function automatically executes bus resetting, whereby the prior network configuration is reset and a new network is reconstructed.

[0087] Also the network configuration is from time to time set and recognized.

[0088] The 1394 serial bus has a data transfer rate of 100/200/400 Mbps, and a device having an upper transfer rate supports a device having a lower transfer rate to achieve mutual compatibility.

[0089] As the data transfer mode, the 1394 serial bus has a synchronous transfer mode for transferring asynchronous data (hereinafter called “async data”) such as a control signal, and a isochronous transfer mode for transferring isochronous data (hereinafter called “iso data”) such as real-time video or audio data.

[0090] The async data and iso data are transferred in a mixed manner within each cycle (usually 125 ps), succeeding to the transfer of a cycle start packet (CSP) indicating the start of a cycle and giving priority to the transfer of the iso data.

[0091]FIG. 3 shows components constituting the 1394 serial bus.

[0092] As shown in FIG. 3, the 1394 serial bus has a hierarchic structure composed in succession of a cable 213 of the 1394 serial bus, a hardware 200, a firmware 201 and a software 202.

[0093] The cable 213 of the 1394 serial bus is a hardware component of which connector is connected to a connector port 210.

[0094] The hardware 200 substantially constitutes the interface and includes a physical layer 211 and a link layer 212.

[0095] The physical layer 211 executes encoding and control related to the connector, while the link layer 212 executes packet transfer and control of the cycle time.

[0096] The firmware 201 includes a transaction layer 214 and a management layer 215.

[0097] The transaction layer 214 manages data to be transferred (transaction) and issues commands such as “read” and “write”.

[0098] The management layer 215 manages the connection status of the devices and ID's, thus managing the configuration of the network.

[0099] The above-mentioned hardware 200 and firmware 201 substantially constitute the 1394 serial bus.

[0100] The software 202 includes an application layer 216.

[0101] The application layer 216, being variable depending on the software to be used, defines for example how the data are to be put on the interface, and is defined by the data transfer protocol such as AV/C protocol.

[0102]FIG. 4 shows the address space in the 1394 serial bus.

[0103] Each device (hereinafter also called “node”) connected by the 1394 serial buses as shown in FIG. 2 is always given an address of 64 bits, specific to each device.

[0104] Each device sets such address in a ROM in the own device, whereby it can always recognize the node address of the self device or another device constituting the partner in connection, thereby being capable of communication with a designated device.

[0105] The addressing on the 1394 serial bus is executed by a method based on the IEEE1212 standard.

[0106] In this method, within the 64-bit address shown in FIG. 4, the first 10 bits (221) are used for designating a bus number (bus ID), and the succeeding 6 bits (222) are used for designating a node ID number (node ID).

[0107] The subsequent 48 bits (223) can be used by each device, and are divided into 20 bits (223 a) and 28 bits (223 b) and utilized with a structure of a unit of 256 Mbytes (224).

[0108] In an address area (224) constituted by the initial 20 bits (223 a) within the 48 bits (223), an area 225 indicated by addresses 0 to 0xFFFFD is called a memory space while an area 226 indicated by a next address 0xFFFFE is called a private space that can be arbitrarily used by each device.

[0109] Also an area 227 indicated by a next address 0xFFFFF is called a register space used for setting common information between the devices connected to the bus and used for communication between the devices.

[0110] In the register space 227, an initial 512-byte area 228 is used as a register (CSR core) constituting the core of the CSR architecture.

[0111] A next 512-byte area 229 is used as a register for the serial bus.

[0112] A next 1024-byte area 230 is used as a configuration ROM.

[0113] A subsequent area 231 is used as a unit space (register specific to the device).

[0114] For generally simplifying the design of different bus systems, it is desirable that each device uses only the initial 2048-byte area in the unit space 231.

[0115] In such case there can be used 4096 bytes constituted by the CSR core 228 of the CCSR architecture, the register 229 of the serial bus, the configuration ROM 230 and the initial 2048 bus of the unit space 231.

[0116] <<Electrical Specification of the 1394 Serial Bus>>

[0117]FIG. 5 is a cross-sectional view of the 1394 serial bus cable.

[0118] As shown in FIG. 5, the 1394 serial bus cable contains two sets of twisted pair signal lines 241 and power source lines 242.

[0119] The power source lines 242 enables power supply to a device lacking the power source or a device in which the power supply voltage is lowered by a failure.

[0120] The power source lines 242 are defined with a voltage of 8 to 40 V and a maximum current of DC 1.5 A.

[0121] <<DS-link Encoding>>

[0122] The data transfer format employed in the 1394 serial bus will be explained with reference to FIG. 6.

[0123] The 1394 serial bus employs the DS-link (data/strobe link) encoding as the data transfer format.

[0124] Such DS-link encoding method is suitable for high-speed serial data communication.

[0125] More specifically, the DS-link encoding method requires two signal lines, of which one is used for transmitting main data while the other is used for transmitting a strobe signal.

[0126] The receiving side for the data and the strobe signal can reproduce the clock signal by calculating the exclusive logic sum of the data and the strobe signal.

[0127] The above-described DS-link encoding provides the following advantages:

[0128] a higher transfer efficiency in comparison with other serial data transfer methods;

[0129] magnitude of the controller LSI circuit can be reduced because the PLL circuit can be dispensed with; and

[0130] in the absence of the data to be transferred, the transceiver circuit of each device can be put in the sleep state, since it is not necessary to transmit information indicating an idle state.

[0131] It is thus made possible to reduce the electric power consumption.

[0132] <<Sequence for Node ID Determination>>

[0133] As explained in the foregoing, when an arbitrary device is deleted or newly added, the plug and play function automatically executes bus resetting, whereby the prior network configuration is reset and a new network is reconstructed.

[0134] After the bus resetting, each device executes an operation according to a flow chart shown in FIG. 7 (operation for giving ID to each device), in order to construct a new network configuration.

[0135] More specifically, the flow chart in FIG. 7 shows the operations from the occurrence of the bus resetting to the determination of the node ID in each device and the transfer of such node ID.

[0136] At first, each device constantly monitors whether a bus resetting occurs in the network (step S251).

[0137] When a bus resetting occurs for example by turning on/off of the power supply in an arbitrary device in the network, each device declares a parent-child relationship with a device directly connected to the self device, in order to recognize the connection status of the new network, starting from the reset state of the network (step S252).

[0138] When the step S252 determines the parent-child relationship among all the devices (step S253), there is determined, as a result, a root device (step S254).

[0139] When the step S254 determines the root device, each devices executes a node ID setting operation for giving the node ID of the self device to other devices (step S255).

[0140] The not ID setting operation is executed in a predetermined order of devices.

[0141] When the step S255 completes the node ID setting operation for all the devices (step S256), the new network configuration is recognized by all the devices.

[0142] Thus each device is rendered capable of executing data transfer with other devices, and initiates the data transfer according to the necessity (step S257).

[0143] Then there is again assumed a mode of monitoring whether the bus resetting occurs (step S251), and, in response to the occurrence of a bus resetting, the process of the aforementioned steps S252 to S257 is repeated.

[0144] <<Direct Print Protocol (DPP)>>

[0145] The communication system 100 of the present embodiment shown in FIG. 1 employs the direct print protocol (DPP) as the data transfer sequence between the printer 102 and the digital camera 101.

[0146] The direct print protocol (DPP) utilizes, in the initial unit space (unit space 231 shown in FIG. 4) as shown in FIG. 8, a command register 261 for command writing, a response register 262 for writing a response to the command, a data register 263 for writing transfer data, and a format register 254 for storing format information corresponding to the data format of the individual transfer data.

[0147] In FIG. 8, the addresses are shown without the initial “FFFF”.

[0148] The command register 261 is provided at a fixed address “FFFF0000B00”h and has a space of 512 bytes.

[0149] In the present embodiment, the command register 261 is used by the digital camera 101 (image source device) for writing various commands (hereinafter also called “command frame”) to the printer 102, and is provided on the printer side.

[0150] The command register 261 is also provided on the digital camera 101 and is used by the printer 102 for writing various commands to the command register 261 of the digital camera 101.

[0151] The response register 262 is provided at a fixed address “FFFF0000D00”h and has a space of 512 bytes.

[0152] In the present embodiment, the response register 262 is used by the printer 102 for writing responses (hereinafter also called “response frame”) to the various commands written in the command register 261 by the digital camera 101, and is provided on the digital camera side.

[0153] The response register 262 is also provided on the printer 102 and is used by the digital camera 101 for writing responses to the response register 262 of the printer 102.

[0154] The data register 263 has a default address “FFFFF0003000”h, and can be set at an effective arbitrary address by a BlockAddressBufferConfig command for defining the address of the data register 263.

[0155] Also the space of the data register 263 can be set within a predetermined range by a BlockSizeBufferConfig command for defining the space of the data register 263.

[0156] In the present embodiment, the data register 263 is used for executing data transfer between the digital camera 101 and the printer 102, and, in case of print output by the printer 102, the print data (hereinafter also called “data frame”) to be printed by the printer 102 are written by the digital camera 101.

[0157] The print data in such case are formed with a data format according to a preset image format.

[0158] The format register 264 is composed of a group of registers corresponding to the respective data formats to be explained later, and each of such registers is used for setting the format information (hereinafter also called “format frame”) required for each data format.

[0159] In the present embodiment, the format register 264 is used by the digital camera 101 for writing the format information for the printer 102.

[0160]FIG. 9 shows the flow of the aforementioned command frame, response frame, data frame and format frame between the digital camera 101 and the printer 102.

[0161] For example, in case of print output of the data in the digital camera 101 by the printer 102, at first the digital camera writes, as shown in FIG. 9, a command to the printer 102 as the command frame in the command register 261 b at the side of the printer 102.

[0162] Then the printer 102 writes a response, to the command frame written in the command register 261 b by the digital camera 101, as the response frame into the response register 262 a at the side of the digital camera 101.

[0163] The response frame in this state includes information indicating whether the operation, responding to the command frame written by the digital camera 101 into the command register 261 b of the printer 102, has been properly executed or a response value to such command.

[0164] Then the digital camera 101 writes the data (such as photographed image) to be printed by the printer 102, as the data frame, into the data register 263 b at the side of the printer 102.

[0165] Also the digital camera 101 writes the format information of the print output by the printer 102, as the format frame, into the format register 264 at the side of the printer 102.

[0166] The command frame, response frame and data frame mentioned above can be exemplified for example by commands and responses 271 to 291 and commands 292 to 294 shown in FIG. 10.

[0167] As an example, as shown in FIG. 10, the command frame and the data frame can be classified into eight categories (hereinafter called command classification), namely “status” relating to the status “control” for printer control, “block/buffer” for data transfer setting, “channel” for channel setting, “transfer” relating to the transfer method, “format” relating to the format setting, “login” relating to the log-in, and “data” relating to the data transfer.

[0168] The command frame and the response frame belonging to a command classification “status” include a command “GetStatus” for acquiring the status of the printer and a response “GetstatusResponse” thereto (271).

[0169] The command frame and the response frame belonging to a command classification “control” include a command “PrintReset” for resetting the printer and a response “PrintResetResponse” thereto (272), a command “PrintStart” for starting the printing and a response “PrintStartResponse” thereto (273), a command “PrintStop” for interrupting the printing and a response “PrintStopResponse” thereto (274), a command “InsertPaper” for instructing paper feeding and a response “InsertPaperResponse” thereto (275), a command “EjectPaper” for instructing paper discharge and a response “EjectPaperResponse” thereto (276), a command “CopyStart” for starting the copying of the image data and a response “CopyStartResponse” thereto (277), and a command “CopyEnd” for ending the copying of the image data and a response “CopyEndResponse” thereto (278).

[0170] The command frame and the response frame belonging to a command classification “block/buffer” includes a command “BlockSize” designating the block size and a response “BlockSizeResponse” thereto (279), a command “BlockAddress” for designating the block address and a response “BlockAddressResponse” thereto (280), commands “FreeBlock” and “WriteBlock” for acquiring the number of the empty blocks and responses “FreeBlockResponse” and “WriteBlockResponse” thereto (281, 282), a command “BufferConfig” for designating the buffer information and a response “BufferConfiglockResponse” thereto (283), and a command “SetBuffer” for designating the start of data acquisition from the buffer and a response “SetBufferResponse” thereto (284).

[0171] The command frame and the response frame belonging to a command classification “channel” include a command “OpenChannel” for opening the channel and a response “OpenChannelResponse” thereto (285), and a command “CloseChannel” for closing the channel and a response “CloseChannelResponse” thereto (286).

[0172] The command frame and the response frame belonging to a command classification “transfer” include a command “TransferMethod” for designating the data transfer method and a response “TransferMethodResponse” thereto (287).

[0173] The command frame and the response frame belonging to a command classification “format” include a command “SetFormat” for setting the format and a response “SetFormatResponse” thereto (288).

[0174] The command frame and the response frame belonging to a command classification “login” include a command “Login” for login and a response “LoginResponse” thereto (289), a command “Logout” for logout and a response “LogoutResponse” thereto (290), and a command “Reconnect” for reconnection and a response “ReconnectResponse” thereto (291).

[0175] In response to the writing of values corresponding to the above-described commands 271 to 291 by the digital camera 101 into the command register 261 b of the printer 102 as shown in FIG. 9, the printer 102 executes the operations corresponding to such commands.

[0176] Then the printer 102 writes the responses to the commands (namely values equivalent to the values corresponding to the commands) in the response register 262 a of the digital camera 101 as shown in FIG. 9, whereby the digital camera 101 recognizes the result of execution of each command.

[0177] Also the data frame belonging to a command classification “data” includes commands “WriteBlock” and “WriteBuffer” for data writing (292, 293) and a command “PullBuffer” for reading data (294).

[0178] The data frame belonging to the command classification “data” do not have a response.

[0179]FIG. 11 shows the specific structure of the format register 264 at the side of the printer 102, shown in FIG. 9.

[0180] As shown in FIG. 11, the format register 264 includes a register (INQUIRY) 301 exclusive for reading for inquiry, and a read/write register (CONTROL/STATUS) 302 for setting and information acquisition.

[0181] The read-only register (INQUIRY) 301 and the read/write register (CONTROL/STATUS) 302 are respectively composed of a group of registers of similar configurations.

[0182] More specifically, the read-only register (INQUIRY) 301 is composed of registers 303 a to 307 a, while the read/write register (CONTROL/STATUS) 302 is composed of a register 308 and registers 303 b to 307 b similar to those 303 a to 307 a.

[0183] The registers 303 a, 304 a (303 b, 304 b) constitute a common register group (printcommonregistergroup), and registers 305 a to 307 a (305 b to 307 b) constitute a printer format register group (printformatregistergroup).

[0184] The common register group 303 a, 304 a (303 b, 304 b) stores information common to all the data formats.

[0185] In the common register group 303 a, 304 a (303 b, 304 b), the register 303 a (303 b) is a register (GLOBAL) to all the printers, while the register 304 a (304 b) is a register (LOCAL) specific to the printer 102.

[0186] The printer format register group 305 a to 307 a (305 b to 307 b) stores information specific to each data format.

[0187] The printer format register group 305 a to 307 a (305 b to 307 b) is composed of n registers (format[1] to format[n]) in total, from the register 305 a (305 b) to the register 307 a (307 b).

[0188] The registers 305 a to 307 a (305 b to 307 b) respectively correspond to the data formats to be explained later, and a printer format register group 305 a to 307 a (305 b to 307 b) is assigned to each loaded data format.

[0189] Also the addresses of the printer format registers 305 a to 307 a (305 b to 307 b) are given to the digital camera 101 as the response to a command for setting the data format.

[0190]FIG. 12 shows the detailed structure of the register 308 of the read/write register (CONTROL/STATUS) 302 shown in FIG. 11.

[0191] The register 308 is composed of a common status register (commonstatusregister) 311 and a vendor specific status register (vendorspecificstatusregister) 312 of 32 bits each.

[0192] The common status register 311 holds status common to the printer of various vendors, while the vendor specific status register 312 hold the status defined specifically for each vendor.

[0193] In the common status register 311, a V-flag to be explained later defines expansion to the vendor specific status register 312.

[0194] The above-mentioned V-flag defines expansion to the specific status register 312 by the following information (“0”, “1”, “error”, “warning” etc.):

[0195] 0: not available; 1: available; error.warning: error, warning status; paperstate: paper condition; printstate: printer condition on the printer 102.

[0196]FIG. 13 shows the detailed structure of the register 303 a (303 b) of the common register group 303 a, 304 a (303 b, 304 b) shown in FIG. 11.

[0197] The register 303 a (303 b) holds information common to all the printers (including the printer 102) loaded with the direct print protocol.

[0198] Stated differently, there is held common information which is not different by the kind of the printer.

[0199] For example, the register 303 a (303 b) includes an area (media-type) 321 for holding information indicating the kind of the print medium; an area (paper-size) 322 for holding information indicating the size of paper; an area (paper-margin) 323 for holding information indicating margin values of a page; an area (page-length) 324 for holding information indicating the length of a page; an area (page-offset) 325 for holding information indicating the offset of a page; an area (print-unit) 326 for holding information indicating the unit information of the printer, an area (color-type) 327 for holding information indicating the type of colors of the printer; and an area (bit-order) 328 for holding information indicating the bit order of the data.

[0200]FIG. 14 shows the detailed structure of the register 304 a (304 b) in the common register group 303 a, 304 a (303 b, 304 b) shown in FIG. 11.

[0201] The register 304 a (304 b) holds information specific to each type of the printer (including the printer 102) loaded with the direct print protocol.

[0202] The register 304 a (304 b) for example includes an area (paper) 331 for holding information indicating the kind of the print medium specific to the print; an area (CMS) 332 for holding information indicating the color matching method; and an area (ink) 333 for holding information indicating the kind of inks of the ink jet printer.

[0203]FIG. 15 shows the detailed structure of the register 305 a (305 b) in the printer format register group 305 a to 307 a (305 b 307 b) shown in FIG. 11.

[0204] The register 305 a (305 b) holds format information for example for the EXIF (exchangeable image file format) which is one of the image data formats.

[0205] In this case, the register 305 a (305 b) includes an area (inX-rate) 341 for holding information on the input rate in the X-direction, an area (inY-rate) 342 for holding information on the input rate in the Y-direction, an area (utX-rate) 343 for holding information on the output rate in the X-direction, and an area (utY-rate) 344 for holding information on the output rate in the Y-direction.

[0206] The printer 102 is rendered capable of print output by modifying the magnification in the X and Y directions according to the content of the image data of the EXIF format given by the register 305 a (305 b).

[0207]FIG. 16 shows the detailed structure of the register 306 a (306 b) in the printer format register group 305 a to 307 a (305 b 307 b) shown in FIG. 11.

[0208] The register 306 a (306 b) holds format information for example for the “raw RGB format” (hereinafter simply called “RGB format” in which each pixel is composed of R (red), G (green) and B (blue) data.

[0209] In this case, the register 306 a (306 b) includes an area (inX-rate) 351 for holding information on the input rate in the X-direction, an area (inY-rate) 352 for holding information on the input rate in the Y-direction, an area (utX-rate) 353 for holding information on the output rate in the X-direction, an area (utY-rate) 354 for holding information on the output rate in the Y-direction, an area (XY-size) 355 for holding information indicating the XY-fixed pixel size, an area (bit-pixel) 356 for holding information indicating the bit number per pixel, an area (X-size) 357 for holding information indicating the number of pixels in the X-direction, an area (Y-size) 358 for holding information indicating the number of pixels in the Y-direction, an area (plane) 359 for holding information indicating the color planes per pixel, an area (X-resolution) 360 for holding information indicating the resolution in the X-direction, an area (Y-resolution) 361 for holding information indicating the resolution in the Y-direction, and an area (pixel-format) 362 for holding information indicating the kind of the pixel.

[0210] The printer 102 is rendered capable of print output with modification of magnification in the X and Y directions, conversion of resolution, change of pixel change etc. according to the content of the image data of the RGB format given by the register 306 a (306 b).

[0211] In the printer format register group 305 a to 307 a (305 b to 307 b), those succeeding to the register 306 a (306 b) also hold various format information as in the aforementioned registers 305 a, 306 a (305 b, 306 b), and FIG. 18 shows examples of the image data format supported by the direct print printer.

[0212] In the present embodiment, the printer 102 supports data according to any of the various formats shown in FIG. 17.

[0213] However, the image data format supported by the direct print system is not limited to those shown in FIG. 17, and there may be optionally supported other formats.

[0214]FIG. 18 shows a format setting sequence for the printer 102.

[0215] At first the digital camera 101 writes a command “SetFormat” (cf. FIG. 10) for inquiry as a command frame in the command register 261 b (cf. FIG. 9) of the printer 102 (step S370).

[0216] Then the printer 102 writes a response “SetFormatResponse” (cf. FIG. 10) in the response register 262 a of the digital camera 101 (step S371).

[0217] Thus the digital camera 101 recognizes the address of the read-only register (inquiry) 301 (cf. FIG. 11) of the format register 264 of the printer 102.

[0218] Then the digital camera 101 writes a command “SetFormat” for control/status (cf. FIG. 10) as a command frame in the command register 261 b (cf. FIG. 9) of the printer 102 (step S372).

[0219] Then the printer 102 writes a response “SetFormatResponse” (cf. FIG. 10) in the response register 262 a of the digital camera 101 (step S373).

[0220] Thus the digital camera 101 recognizes the address of the read/write register (control/status) 302 succeeding to the read-only register (inquiry) register 301 in the format register 264 of the printer 102.

[0221] Then the digital camera 101 recognizes the set items of the format supported by the printer 102 from the content of the read-only register (inquiry) 301 of the format register 264 of the printer 102, based on the address thereof recognized from the response from the printer 102 in the step S371 (steps S371-1 to S374m).

[0222] More specifically, the digital camera 101 reads in succession the contents of the printer format register group 305 a to 307 a of the read-only register (inquiry) 301, thereby recognizing the set items of the format supported by the printer 102.

[0223] Then the digital camera 101 reads the contents of the printer format register group 305 b to 307 b of the read/write register (control/status) of the format register 264 of the printer 102 (steps S375-1 to S375n) and writes the information of the desired format into these registers (steps S376-1 to S376-n).

[0224] <<PULLtype Data Transfer>>

[0225] The communication system 100 of the present embodiment shown in FIG. 1 employs pull-type data transfer method in case the printer 102 reads the data from the memory in the digital camera 101.

[0226] In the pull-type data transfer method, the output operations of command and response between the digital camera 101 and the printer 102 are based on FCP, and are executed, as shown in FIG. 19, by a writing operation of the digital camera 101 for a command frame 381 into the command register 261 b of the printer 102 and a writing operation of the printer 102 for a response frame 382 into the response register 262 a of the digital camera 101.

[0227] On the other hand, the writing operation of a data frame 383 is different from the writing operation of the command frame 381 or of the response frame 382 (namely different from the FCP-based operation) and is executed by a unidirectional operation in which the printer 102 reads the content (image data) of the data register 263 a of the digital camera 101 as a data frame 383 into the data register 263 b of the printer 102, utilizing the read transaction.

[0228]FIG. 20 shows the operations according to the above-described pull-type data transfer method, when the digital camera 101 and the printer 102 executes data transfer based on DPP.

[0229] In the following description, the operations of command and response for format setting are similar to those explained in the foregoing with reference to FIG. 18, while those for “Login”, “Logout”, “OpenChannel” and “CloseChannel” and those for “BufferConfig” and “SetBuffer” are similar to those in the aforementioned pull-type data transfer method, so that these operations will not be explained further in detail.

[0230] At first the digital camera 101 writes, in the command register 261 b of the printer 102, a “BufferConfig” command for inquiring information on the buffer area of the printer 102 (buffer size, buffer address etc.) as a command frame (step S391).

[0231] Then the printer 102 writes a response to the “BufferConfig” written into the command register 261 b, as a response frame, in the response register 262 a of the digital camera 101 (step S392).

[0232] Thus the digital camera 101 recognizes the information (buffer size, buffer address etc.) of the buffer area of the printer 102.

[0233] Then the digital camera 101 writes a “BufferConfig” command for setting the buffer size and the buffer address to be read by the printer 102 from the digital camera 101, as a command frame, in the command register 261 b of the printer 102 (step S393).

[0234] Then the printer 102 writes a response to the “BufferConfig” written into the command register 261 b, as a response frame, in the response register 262 a of the digital camera 101 (step S394).

[0235] Thus the digital camera 101 recognizes the completion in the printer 102 of the buffer size and the buffer address to be read from the digital camera 101 to the printer 102.

[0236] Then the digital camera 101 writes a “SetBuffer” command as a command frame in the command register 261 b of the printer 102, thereby informing the printer 102 that the data transfer can be initiated (step S395).

[0237] Then the printer 102 writes a response to the “SetBuffer” written into the command register 261 b, as a response frame, in the response register 262 a of the digital camera 101 (step S396).

[0238] Thus the digital camera 101 recognizes that the preparation of the printer 102 for data fetching is completed.

[0239] Thereafter the digital camera 101 starts data transfer to the printer 102.

[0240] More specifically, the digital camera 101 and the printer 102 execute data transfer utilizing the respective data registers 263 a, 263 b, through a step S397 in which the printer 102 at first issues a “PullBuffer” request (a request packet by read transaction) and a step S398 in which the digital camera 101 issues, to the printer 102, a response packet to the request.

[0241] Thus there is executed data transfer (in the pull-type data transfer method) to the buffer address informed from the digital camera 101 to the printer 102.

[0242] The above-described data transfer operation is repeated (step S400), and, when the printer 102 writes a “SetBuffer” response as a response frame in the response register 262 a of the digital camera 101 (step S399), the digital camera 101 recognizes that all the data have been transferred to the printer 102.

[0243]FIG. 21 shows the relationship between the data register 263 a of the digital camera 101 and a buffer 411 thereof.

[0244] As shown in FIG. 21, the reading start address “BufferAddress” of the buffer 411 is determined according to a value “Destination_Offset” set by the data register 263 a, and the data of an area indicated by such reading start address “BufferAddress” are read by the read transaction.

[0245] The “Destination_Offset” value is every time increased by the “DataLength” of the data register 263 a.

[0246] The data in the buffer 411 can be read in continuous manner by repeating the data reading for the continuous address of the buffer 411 according to such “Destination_Offset” value.

[0247] The data held in the buffer 411 of the digital camera 101 can thus be transferred to the printer 102 in the above-explained manner.

[0248] Such data transfer based on the pull-type data transfer method allows the printer 102 to read the data written in the buffer 411 of the digital camera 101 by direct address designation.

[0249] <<File Configuration of Image Data>>

[0250] The buffer 411 shown in FIG. 21 (in the digital camera 101) holds the image data, such as the image photographed by the digital camera 101.

[0251] Such image data are constructed as an image file of the following file format.

[0252] In the present embodiment, the digital camera 101 informs the printer of the format information (buffer address, buffer size etc.) of the buffer 411 holding the image data, so that the printer 102 is rendered capable of fetching the image data under arbitrary selection from the buffer 411 in the following manner.

[0253] In the present embodiment, the EXIF file format is employed as an example of the file format, but such example is not restrictive and the present embodiment is naturally applicable similarly to any file format including a thumbnail image.

[0254]FIG. 22 shows the configuration of an image file of the EXIF file format.

[0255] The image file is composed of an EXIF header (421), a TIFF data portion (422) and a JPEG data portion (423).

[0256] The TIFF data portion 421 includes an area 422 a for holding the JPEG image information (hereinafter called “JPEG image area”), an area 422 b for holding information specific to the digital camera 101 (hereinafter called “digital camera information area”), and an area 422 c for holding information of the thumbnail image information (hereinafter called “thumbnail image area”).

[0257] The JPEG image area 422 a stores information including image information compressed by the JPEG method from the actual image obtained by photographing.

[0258] The above-mentioned image file of the EXIF file format is featured by a fact that the entire file appears as a file of the JPEG format.

[0259]FIGS. 23 and 24 show the detailed structure of the EXIF header 421 and the TIFF data portion 422 shown in FIG. 22.

[0260] For example, in case of obtaining the data on the photographing date and time and the thumbnail image from the information stored in the JPEG image area 422 a and the digital camera information area 422 b, reference is at first made to the EXIF header 421 starting from an address “x000”h of the image file. The EXIF header 421 stores the start address of the TIFF data portion 422 and the size of the entire image file.

[0261] Based on the start address “0100”h of the TIFF data portion 422 and the size of 1792 bytes of the entire image file, there can be recognized that the TIFF data portion 422 starts from an address “x100”h and that the image file ends at an address “x7FF”h.

[0262] Then reference is made to the TIFF data portion 422 starting from an address “x100”h, in which the JPEG image area 422 a stores the area information of the specific information.

[0263] Based on the initial offset of the specific information is “x100”h in the JPEG image area 422 a, there can be recognized that the information specific to the digital camera 101 is stored in an area starting from “x200”h, which is advanced by “x100”h from the start address “x100”h of the TIFF data portion 422.

[0264] Stated differently, the actual start address of the digital camera information area 422 b can be recognized as “x200”h.

[0265] Then reference is made to the digital camera information area 422 b, starting from an address “x200”h and storing a tag of the photographing time.

[0266] The search of the photographing time tag provides an offset value “x1C4”h, whereby there can be recognized that the information of the photographing date and time by the digital camera 101 is stored in an area starting from an address “x2C4”h, which is advanced by “x1C4”h from the start address “x100”h of the TIFF data portion 422.

[0267] Thus, there can be obtained, as the photographing date and time, “Jul. 6, 1997, 12 hours, 36 minutes, 10 seconds”.

[0268] After the acquisition of the photographing date and time in the above-described manner, reference is then made to the TIFF data portion 422 starting from an address “x100”h for obtaining thumbnail images. Its JPEG image area 422 a stores offset information indicating the area of the thumbnail images.

[0269] As the offset value indicating the thumbnail image area is “x200”h, there can be recognized that the actual thumbnail image information is stored in an area starting from an address “x300”h, which is advanced by “x200”h from the start address “x100”h of the TIFF data portion 422.

[0270] In this manner there can be recognized that the actual start address of the thumbnail image area 422 c is “x300”h.

[0271] Then reference is made to the thumbnail image area 422 c starting from an address “x200”h and storing a thumbnail offset tag.

[0272] The search of the thumbnail offset tag provides an offset value “x220”h, whereby there can be recognized that the thumbnail images are stored in an area starting from an address “x320”h, which is advanced by “x220”h from the start address “x100”h of the TIFF data portion 422.

[0273] Also reference is made to the thumbnail image area 422 c starting from an address “x200”h and storing a thumbnail size tag.

[0274] The search of the thumbnail size tag provides a byte number of “4800” bytes, whereby there can be recognized that the thumbnail images are stored with 4800 bytes starting from an address “x320”h.

[0275] Thus there can be acquired the thumbnail images of 4800 bytes.

[0276] The thumbnail image is assumed to be constituted by a non-compressed image, obtained by reducing the actual image to 80×60 dots according to the TIFF format.

[0277] As explained in the foregoing, by referring to the header and various information of the image file, there can be obtained the thumbnail images in such image file and the information on the photographing date and time thereof.

[0278]FIG. 25 is a memory map of a state in which the buffer 411 in the digital camera 101 holds a plurality of the image files as shown in FIG. 22.

[0279] In the digital camera 101, succeeding to an area of addresses “0000”h to “07FF”h storing directory information (hereinafter alled “directory area”), there are held plural image files 432(1) to 432(n).

[0280] The directory area 431 stores information indicating the start addresses of the image files 432(1) to 432(n) and the sizes thereof.

[0281] In extracting a desired image file (for example the image file 432(3)) from the image files 432(1) to 432(n), such image file can be extracted based on the start address 433 of the image file 432(3), obtained from the information of the directory area 431.

[0282] More specifically, as an example, there are shown in FIG. 25 the start address “0800”h for the image file 432(1), the start address “1000”h for the image file 432(2), the start address “1800”h for the image file 432(3) etc.

[0283] Thus the image files 432(1), 432(2), 432(3), have the start addresses mutually separated by “0800”h, and information (map information) indicating such structure is stored in the directory area 431.

[0284] Thus, in order to extract the n-th image file 432(n), the start address can be obtained by n times of “0800”h.

[0285]FIG. 26 shows the operation of reading the arbitrary thumbnail image and the information of the photographing date and time of an arbitrary image file from the plural image files as shown in FIG. 25, held in the memory (buffer 411) of the digital camera 101.

[0286] For the purpose of simplicity of explanation, it is assumed that the image file 432(3) is extracted from the image files 432(1) to 432(n).

[0287] At first the information is read from the directory area 431 (step S441).

[0288] Then, based on the information in the directory area 431, as the desired image file 432(3) is a third image file, the start address of the image file 432(3) “1800”h is calculated by tripling “0800”h (step S442).

[0289] Then, based on the start address “1800”h of the image file 432(3), there is read the information (cf. FIG. 23) of the image file 432(3) in the EXIF header 421 (step S443).

[0290] Then based on the information in the EXIF header 421, there is calculated the start address of the image file 432(3) in the JPEG image area 422 a, and, based on the information in the JPEG image area 422 a, there is calculated the start address of the digital camera information area 422 b and the thumbnail image area 422 c (step S444).

[0291] Then, based on the information on the start address of the thumbnail image area 422 c, the thumbnail image in the image file 423(3) is acquired, and, based on the information on the start address of the digital camera information area 422 b, the information on the photographing date and time is acquired (step S445).

[0292]FIG. 27 shows the operation of the printer 102 for reading the data of the thumbnail data only from the image file in the buffer 411, based on the address and size of the buffer 411 informed from the digital cameral 101.

[0293] Referring to FIG. 27, since the start addresses of the thumbnail image data of the plural image files 432(1) to 432(n) are acquired from the information of the directory area 431, there are obtained a start address 451(1) for the image file 432(1) at “0B20”h, a start address 451 (2) for the image file 432 (2) at “1320”h, a start address 451(3) for the image file 432(3) at “1B20”h etc.

[0294] Thus the start address 451(n) of the n-th image file 432(n) can be calculated by n×0800h+0320h.

[0295] Thus the thumbnail image data of the plural image files 432(1) to 432(n) can be individually read by the start addresses of such data, the printer 102 can-independently obtain the necessary thumbnail image from the image files held in the digital camera 101.

[0296]FIG. 28 shows an example of the arrangement of the thumbnail images in case of print output (index printing) by the printer 102 of the thumbnail images, fetched into the printer 102 by the aforementioned configuration.

[0297] The printer 102 executes index printing of the thumbnail images read from the digital camera 101, after sorting the thumbnail image data in a data format for index printing (image rearrangement).

[0298] In the example shown in FIG. 28, the first to sixth thumbnail images (Nos. 1 to 6) are arranged in succession in the X-direction from the upper left corner, and then the seventh to twelfth thumbnail images (Nos. 7 to 12) are arranged in the X-direction from the upper left with a displacement in the Y-direction.

[0299] The rearrangement of the thumbnail images explained in the foregoing is executed in the printer 102 which has read the thumbnail image data from the digital camera 101.

[0300] The printer 102 rearranges the thumbnail image data, read from the digital camera 101, so as to form index data of a sheet.

[0301] Thus the thumbnail images held in the digital camera 101 are printed as index data of a sheet from the printer 102.

[0302] The printer 102, executing the above-mentioned image rearrangement and the index printing, for example has a configuration as shown in FIG. 29.

[0303] The printer 102 is provided with a CPU 461 controlling the function of the entire printer 102, a RAM 462 to be used in the processing of thumbnail image data and for data transfer, a ROM 463 storing programs and data for controlling the function of the CPU 461, a 1394PHY 465 which is a physical layer controller for realizing a 1394 interface, a 1394LINK 464 which is a link layer controller for realizing a 1394 interface, a printer controller 468 for controlling the function of a printer unit (not shown), a head unit 466 incorporated in the printer unit, and a motor unit 467 of the printer unit, and these components are connected by a bus 469 so as to be capable of mutual communication.

[0304] In such configuration, the printer 102 executes processing utilizing the CPU 461, ROM 463 and RAM 462 on the image fetched from the digital camera 101 through the 1394 interface (1394POHY 465 and 1394LINK 464), and prints thus processed image by driving the motor 467 and the head 466 of the printer unit through the printer controller 468.

[0305]FIG. 30 shows the function of the printer 102 in executing the aforementioned index printing.

[0306] At first a counter L for the image file held in the digital camera 101 is initialized (step S471).

[0307] The counter L indicates the number of the image files 451(1), 451(2), 451(3), . . . as shown in FIGS. 25 and 27, and has an initial value “1”.

[0308] Then, based on the address/size information of the buffer 411 informed from the digital camera 101 (namely the format information of the image data held in the digital camera 101), the thumbnail image of the image file 451(L) indicated by the counter L is acquired from the digital camera 101 by a process according to the flow chart shown in FIG. 26 (step S472).

[0309] Then the thumbnail images acquired in the step S472 are rearranged in the manner as shown in FIG. 28, thereby forming data for index printing on the RAM 462 (step S473).

[0310] Then the counter L is step increased in order to execute the process of the steps S472 and S743 for a next image file 451 (L+1) (step S474).

[0311] Then there is discriminated whether the value of the counter L after the increment in the step S474 exceeds the total number (n) of the image files held in the digital camera 101 (step S475).

[0312] If the discrimination of the step S475 identifies that a condition “L>n” is not satisfied, namely if an unprocessed image file still exists in the digital camera 101, the sequence returns to the step S472 and repeats the subsequent steps.

[0313] If the discrimination of the step S475 identifies that a condition “L>n” is met, namely if the thumbnail images have been read from all the image files 451(1), 451(2), 451(3), ., 451(n) present in the digital camera 101 and have been rearranged, the index print data formed on the RAM 462 are printed.

[0314] In the foregoing explanation, the thumbnail images of all the image files present in the digital camera 101 are fetched, but it is also possible to read the thumbnail images of only the images designated by the user.

[0315] Also the number of images to be arranged within the image area may be made selectable, and, according to such number, there may be controlled the number of images to be read or the arrangement thereof.

[0316] In the present invention, as explained in the foregoing, the held information (photographed image and thumbnail image thereof) in another device (digital camera etc.) is fetched therefrom, based on the format information (address, buffer etc. of a buffer holding the information), informed from such another device, of the held information in such another device.

[0317] It is thus rendered possible to arbitrarily fetch the information held in another device.

[0318] Also in case of rearranging the plural held information fetched from another device in an arbitrary order and collectively outputting such information (for example by printing), it is rendered possible to easily recognize the information held in such another device and to efficiently select the desired held information.

[0319] More specifically, in the image data exchange between the digital camera (first device) and the printer (second device), the digital camera informs the format information of the image file (including the photographed image and the thumbnail image formed by reducing the size of the photographed image) held in the internal memory of the digital camera, to the printer.

[0320] Thus, the printer can directly fetch, for example utilizing the pull-type data transfer method, only the thumbnail image from the image file held in the internal memory of the digital camera.

[0321] It is thus rendered possible to simplify the negotiation process between the devices in the data transfer.

[0322] Also in the printer, in case of forming an index print (printing of index image) by editing the thumbnail images fetched from the digital camera, it is possible to easily select the desired image from the plural photographed images held in the digital camera.

[0323] It is therefore possible to improve the operability.

[0324] <Second Embodiment>

[0325] In the present embodiment, the printer 102 executing the image arrangement and the index printing has a configuration for example as shown in FIG. 31, wherein components equivalent to those in the first embodiment are represented by corresponding numbers.

[0326] More specifically, the printer 102 is provided, as shown in FIG. 31, with a CPU 461 controlling the function of the entire printer 102, a RAM 462 to be used in the processing of thumbnail image data and for data transfer, a ROM 463 storing programs and data for controlling the function of the CPU 461, a 1394PHY 465 which is a physical layer controller for realizing a 1394 interface, a 1394LINK 464 which is a link layer controller for realizing a 1394 interface, a printer controller 468 for controlling the function of a printer unit (not shown), a head unit 466 incorporated in the printer unit, and a motor unit 467 of the printer unit, and these components are connected by a bus 469 so as to be capable of mutual communication.

[0327] In the present embodiment, the printer 102 is further provided with an outline extraction controller 501 for executing an outline extraction process on the image data, and an outline RAM 502 to be used in the outline extraction process in the outline extraction controller 501.

[0328] The outline extraction controller 501 executes an outline extraction process to be explained later in detail, on the index data given by the CPU 461 and stored in the RAM 462.

[0329] The outline RAM 502 is rendered capable of holding the image data of a frame (index data of a sheet) in which 1 bit is assigned to each pixel.

[0330] In such configuration, the printer 102 executes processing utilizing the CPU 461, ROM 463 and RAM 462 on the image fetched from the digital camera 101 through the 1394 interface (1394POHY 465 and 1394LINK 464), then executes an outline extraction process and prints thus processed image by driving the motor 467 and the head 466 of the printer unit through the printer controller 468.

[0331]FIG. 32 shows the function of the printer 102 in executing the aforementioned index printing.

[0332] At first a counter L for the image file held in the digital camera 101 is initialized (step S471).

[0333] The counter L indicates the number of the image files 451(1), 451(2), 451(3), . . . as shown in FIGS. 25 and 27, and has an initial value “1”.

[0334] Then, based on the address/size information of the buffer 411 informed from the digital camera 101 (namely the format information of the image data held in the digital camera 101), the thumbnail image of the image file 451(L) indicated by the counter L is acquired from the digital camera 101 by a process according to the flow chart shown in FIG. 26 (step S472).

[0335] Then the thumbnail images acquired in the step S472 are rearranged in the manner as shown in FIG. 28, thereby forming data for index printing on the RAM 462 (step S473).

[0336] Then the counter L is step increased in order to execute the process of the steps S472 and S473 for a next image file 451(L+1) (step S474).

[0337] Then there is discriminated whether the value of the counter L after the increment in the step S474 exceeds the total number (n) of the image files held in the digital camera 101 (step S475).

[0338] If the discrimination of the step S475 identifies that a condition “L>n” is not satisfied, namely if an unprocessed image file still exists in the digital camera 101, the sequence returns to the step S472 and repeats the subsequent steps.

[0339] If the discrimination of the step S475 identifies that a condition “L>n” is met, namely if the thumbnail images have been read from all the image files 451(1), 451(2), 451(3), ., 451(n) present in the digital camera 101 and have been rearranged, the outline extraction process is applied on the index print data formed on the RAM 462, and the index print data after such process are written in the outline RAM 502 (step S511).

[0340] The image after the outline process is preferably made a pale colored image, in order to effectively reduce the burden of the subsequent image processing.

[0341] Then the index print data written in the outline RAM 502 are printed (step S476).

[0342]FIG. 33 shows the details of the outline extraction process in the step S511 in the flow chart shown in FIG. 32.

[0343] At first, the CPU 461 supplies the outline extraction controller 501 with index data, stored in the RAM 462, as the object data for processing.

[0344] The outline extraction controller 501 writes the index data from the CPU 461 in the outline RAM 502 (step S521).

[0345] Then the outline extraction controller 501 reads the index data in the outline RAM 502 pixel by pixel, and discriminates whether the read pixel is a pixel representing the outline (outline pixel) of an object on the thumbnail image constituting the index data (step S522).

[0346] More specifically, there is for example calculated the average value of the image data of three colors (R, G, B) for each pixel, then such average value of an object pixel is compared with the average value in the surrounding pixels, and there is discriminated whether the difference exceeds a predetermined value.

[0347] If the step S522 identifies that the object pixel is an outline pixel, the object pixel is given “1” (step S523), but, if not, the object pixel is given “0” (step S524).

[0348] Then the object pixel, given “1” or “0” by the step S523 or S524, is written in the outline RAM 502.

[0349] Thus there are formed index data constituted by the thumbnail images in which the outline of the object is extracted (namely index data after the outline extraction process).

[0350] Such index data after the outline extraction process are read and printed in the step S476 shown in FIG. 32 (step S525).

[0351]FIGS. 34 and 35 respectively show an image prior to the outline extraction process (original image) and an image after the outline extraction process.

[0352] As an example, an image shown in FIG. 34 exists as a thumbnail image constituting the index data (data prior to the outline extraction process) stored in the RAM 462, such image is converted after the outline extraction process into an image as shown in FIG. 35, on the index data (data after the outline extraction process) stored in the outline RAM 502.

[0353] By extracting the outline of the thumbnail image, there can be omitted the density gradation of such image. It is thus rendered possible to simplify the image processing in printing the index data constituted by such thumbnail image, thereby reducing the process time.

[0354] Also the omission of the density gradation of the image allows to increase the speed of printing output.

[0355] Particularly it is possible to reduce the complexity of the color image processing, resulting from the increase in the number of density levels of the image and the increase in the number of density levels of the printer.

[0356] In the foregoing, the outline extraction process is executed in the printer, but it is also possible to execute such process in the camera.

[0357] More specifically, there is provided an image processing method for the printer constituting the second device for fetching the image data, held in the digital camera constituting the first device, through communication means and outputting such image data, the method comprising:

[0358] an informing step in which the first device informs the second device of the format information of the image data held by the first device; a fetching instruction step in which the second device instructs fetching of the image data from the first device based on the information informed by the information step; an outline extraction step in which the first device executes an outline extraction process on the image data instructed by the fetching instruction step; and an output step in which the first device outputs, through the communication unit, index information after the processing by the outline extraction step.

[0359] In such case, the burden of processing in the camera increases, but the amount of data transmitted to the printer decreases, so that there can be reduced the communication time and the data amount of communication. Such method is therefore effective in a system which is charged by the communication time or by the number of communication packets.

[0360] As explained in the foregoing, the present embodiment enables high-speed print output and is particularly effective in case of forming an index image in order to simply refer to the thumbnail images constituting the index data and to select an image to be printed later with a high image quality, since the index image need not be of a high image quality and an outline image is sufficient for such purpose.

[0361] Also in the present embodiment, the aforementioned outline extraction process may be executed according to an instruction from the user.

[0362] It is thus rendered possible to select whether or not to execute the outline extraction process on the index image according to the situation, thereby meeting the purpose of utilization of the index image by the user (for example a case of requiring a high-quality color image or a case of requiring a high output speed with a low image quality).

[0363] In the present embodiment, the outline extraction process is executed after the index data are formed from the thumbnail image fetched from the digital camera 101, but it is also possible, for example, to execute the outline extraction process at the formation of the index data.

[0364] More specifically, it is possible, after executing the outline extraction process on each thumbnail image, to form the index data by arranging the thumbnail images after such process.

[0365] The objects of the present invention can naturally be attained also in a case where a memory medium storing the program codes of a software realizing the functions of the host and terminal devices of the aforementioned embodiments is supplied to a system or an apparatus and the functions of the aforementioned embodiments are realized by a computer (CPU or MPU) of the above-mentioned system or apparatus by reading and executing the program codes stored in the memory medium.

[0366] In such case the program codes themselves of the software realize the novel functions of the present invention, and the memory medium storing the program codes constitutes the present invention.

[0367] The memory medium storing such program codes can be, for example, a ROM, a floppy disk, a hard disk, an optical disk, a magnetooptical disk, a CD-ROM, a CD-R, a magnetic tape, or a non-volatile memory card.

[0368] The present invention also includes not only a case where the functions of the aforementioned embodiments are realized by the execution of the program codes read by the computer but also a case where an operating system or the like functioning on the computer executes all or a part of the actual processes under the control of such program codes thereby realizing the functions of the foregoing embodiments.

[0369] The present invention further includes a case wherein the program codes read from the memory medium are once stored in a function expansion board inserted into the computer or a function expansion unit connected to the computer, and a CPU provided in the function expansion board or the function expansion unit executes all the process or a part thereof under the control of such program codes, thereby realizing the functions of the aforementioned embodiments.

[0370] In the present invention, as explained in the foregoing, the format information (address, size etc. of a buffer holding the image information), informed from another device (digital cameral etc.), of the image information (thumbnail image etc.) held in such another device, the image information held in such another device is fetched in succession and thus fetched image information is rearranged in an arbitrary order and collectively outputted (for example printing of the index information).

[0371] In such operation, the information (index information) to be collectively outputted is outputted after the execution of a process for extracting the outline from the image information constituting such information.

[0372] Otherwise, at the fetching of the image information from the another device, there is executed a process of extracting the outline from such image information, and the image information after such process is rearranged in an arbitrary order and outputted collectively.

[0373] Such configuration allows to arbitrarily fetch the image information held in the another device.

[0374] It is also rendered possible to easily recognize the image information held in another device and to efficiently select the desired image information.

[0375] Particularly according to the present invention, the density gradation is omitted in the image information constituting the index information, so that the image processing can be simplified in outputting such index information and the process time can be accordingly reduced.

[0376] Also the speed of the print output can be increased.

[0377] More specifically, in the image data exchange between the digital camera (first device) and the printer (second device), the digital camera informs the printer of the format information of the image file (including the photographed image, thumbnail image obtained by reducing the photographed image etc.) held in the internal memory of the digital camera.

[0378] The printer can directly fetch, by the pull-type image transfer method, only the thumbnail image from the image file held in the internal memory of the digital camera.

[0379] It is thus made possible to simplify the negotiation process between the devices in the data transfer.

[0380] Also the printer edits the thumbnail images fetched from the digital camera to form data for index printing (index data), and executes the outline extraction process on such index data.

[0381] Otherwise the printer executes the outline extraction process on the thumbnail images fetched from the digital camera, and edits the thumbnail images after such process to form the data for index printing (index data).

[0382] Thus the thumbnail images constituting the index data become outline images lacking the density gradation.

[0383] Thus the image processing in printing such index data can be simplified.

[0384] It is also possible to easily select the desired image from many photographed images held in the digital camera, whereby the operability can be improved.

[0385] In the foregoing embodiments, there is employed connection based on the IEEE1394, but there may naturally be employed the wireless or infrared communication such as bluetooth.

[0386] There may also be utilized a telephone channel such as a portable telephone.

[0387] The present invention is not limited to the foregoing embodiments but is subject to various modifications within the scope and spirit of the appended claims. 

What is claimed is:
 1. A communication apparatus comprising: communication means for fetching the format of held information, held in another device, by communication with said another device; and control means for controlling the fetching of said held information, based on information of the format, fetched from said another device, of said held information.
 2. A communication apparatus according to claim 1 , wherein said control means selectively fetches arbitrary information from said held information.
 3. A communication apparatus according to claim 1 , further comprising: output means for arranging plural information fetched by said communication means in an arbitrary order and collectively outputting said plural information.
 4. A communication apparatus according to claim 3 , wherein said output means has a print output function.
 5. A communication apparatus according to claim 1 , wherein said held information includes image information and thumbnail image information of said image information.
 6. A communication apparatus according to claim 1 , wherein said communication means executes communication by a serial bus based on the IEEE1394 standard.
 7. A communication apparatus according to claim 1 , wherein said another device is a digital camera.
 8. An image processing apparatus comprising: communication means for fetching the format of held information, held in another device, by communication with said another device; and control means for controlling the fetching of said held information, based on information of the format, informed from said another device, of said held information.
 9. An image processing apparatus according to claim 8 , further comprising: printing means for fetching held information held in another device and printing said held information.
 10. A communication system in which plural devices mutually communicate, comprising: informing means for informing format information relating to image information held by a first device among said plural devices to a second device.
 11. A communication method for transferring image data at least between a first device and a second device, comprising: an informing step in which said first device informs said second device of format information of image data held by said first device; and a fetching step in which said second device fetches data from said first device based on the format information informed by said informing step.
 12. A communication method according to claim 11 , wherein said fetching step selectively fetches data from said first device.
 13. A communication method according to claim 11 , further comprising: an output step of preparing index data from the plural image data fetched by said fetching step and outputting said index data by printing.
 14. A communication method according to claim 11 , wherein said image data includes data of a thumbnail image.
 15. A communication method according to claim 11 , wherein said transferring is based on the IEEE1394 standard.
 16. A communication method according to claim 11 , further comprising: a transfer step of executing data transfer through a serial bus, according to the pull-type data transfer method of the direct print protocol.
 17. A storage medium storing process-implementable instructions for controlling a process to carry out the method on claim 11 .
 18. An image processing apparatus having a function of fetching image information held in another device through communication means, comprising: information fetching means for fetching the image information from said another device, based on format information, informed from said another device, of said held image information; information generation means for generating index information in which plural image information fetched by said information fetching means are arranged in an arbitrary order; outline extraction means for executing an outline extraction process on the image information constituting the index information generated by said information generation means; and information output means for outputting the index information after the processing by said outline extraction means.
 19. An image processing apparatus having a function of fetching image information held in another device through communication means, comprising: information fetching means for fetching the image information from said another device, based on format information, informed from said another device, of said held image information; outline extraction means for executing an outline extraction process on the image information fetched by said information fetching means; information generation means for generating index information in which the plural image information after processing by said outline extraction means are arranged in an arbitrary order; and information output means for outputting the index information generated by said information generation means.
 20. An image processing apparatus according to claim 19 , wherein said information fetching means is capable of selectively fetching arbitrary image information from said another device.
 21. An image processing apparatus according to claim 19 , wherein said information output means at least has a print output function.
 22. An image processing apparatus according to claim 19 , wherein said image information includes a thumbnail image.
 23. An image processing apparatus according to claim 19 , wherein said communication means includes a serial bus based on the IEEE1394 standard.
 24. An image processing apparatus according to claim 19 , wherein said another device is a digital camera.
 25. An image processing apparatus according to claim 19 , wherein said outline extraction means executes said outline extraction process based on an external instruction, and said information output means outputs index information which is not yet processed by said outline extraction means or processed index information.
 26. An image processing apparatus according to claim 19 , wherein the image subjected to the outline extraction process by said outline extraction means is a pale-colored image.
 27. An image processing method in which image data held in a first device are fetched by a second device through communication means and are outputted, the method comprising: an informing step in which said first device informs the second device of format information of the image data held by said first device; an information fetching step in which said second device fetches the image data from said first device, based on the information informed by said informing step; an information generation step in which said second device generates index information in which the plural image data fetched by said fetching step are arranged in an arbitrary order; an outline extraction step in which said second device executes an outline extraction process on the image formation constituting the index information generated by said information generation step; and an information output step in which said second device outputs the index information after processing by said outline extraction step.
 28. An image processing method in which image data held in a first device are fetched by a second device through a serial bus and are outputted by said second device, the method comprising: an informing step in which said first device informs said second device of format information of the image data held by said first device; an information fetching step in which said second device fetches the image data from said first device, based on the information informed by said informing step; an outline extraction step in which said second device executes an outline extraction process on the image information fetched by said information fetching step; an information generation step in which said second device generates index information in which the plural image information after processing in said outline extraction step are arranged in an arbitrary order; and an information output step in which said second device outputs the index information generated by said information generation step.
 29. An image processing method according to claim 28 , wherein, in said information fetching step, said second device selectively fetches image data from said first device.
 30. An image processing method according to claim 28 , wherein said information output step includes a step of outputting said index information by printing.
 31. An image processing method according to claim 28 , wherein said image data includes data of a thumbnail image of an arbitrary image.
 32. An image processing method according to claim 28 , wherein said serial bus includes an interface based on the IEEE1394 standard.
 33. An image processing method according to claim 28 , further comprising: a transfer step of executing transfer of the image data according to the pull-type data transfer method of the direct print protocol.
 34. An image processing method according to claim 28 , further comprising: a selection step of selecting whether or not to execute the process of said outline extraction step; wherein said information output step includes a step of outputting index information after processing by said outline extraction step or unprocessed index information.
 35. A storage medium storing processor-implementable instructions for controlling a process to carry out the method on claim 18 .
 36. A storage medium storing processor-implementable instructions for controlling a process to carry out the method on claim 27 .
 37. An image processing method in which image data held in a first device are fetched by a second device through communication means and are outputted, the method comprising: an informing step in which said first device informs said second device of format information of the image data held by said first device; a fetching instruction step in which said second device instructs fetching of the image from said first device, based on the information informed by said informing step; an outline extraction step in which said first device executes an outline extraction process on the image data instructed by said fetching instruction step; and an output step in which said first device outputs index information after processing by said outline extraction step, through said communication means.
 38. An image processing method according to claim 37 , further comprising: an information generation step in which said second device generates index information in which the plural image data fetched by said fetching step are arranged in an arbitrary order.
 39. A storage medium storing processor-implementable instructions for controlling a process to carry out the method on claim 37 . 